package net.hust.bean;

import java.util.Date;

/**
 * User entity.
 * 
 * @author MyEclipse Persistence Tools
 */
public class User implements java.io.Serializable {

	// Fields
	private Integer userId;
	private String userName;
	private String passwd;
	private String email;
	private Date resDate;
	// Constructors

	/** default constructor */
	public User() {
	}

	
	public User(String userName, String passwd) {
		super();
		this.userName = userName;
		this.passwd = passwd;
	}

	public User(String userName, String passwd, String email) {
		this.userName = userName;
		this.passwd = passwd;
		this.email = email;
	}
	
	public User(String userName, String passwd, String email, Date resDate) {
		this.userName = userName;
		this.passwd = passwd;
		this.email = email;
		this.resDate = resDate;
	}

	public User(Integer userId, String userName, String passwd, String email,
			Date resDate) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.passwd = passwd;
		this.email = email;
		this.resDate = resDate;
	}

	

	public Integer getUserId() {
		return userId;
	}


	public void setUserId(Integer userId) {
		this.userId = userId;
	}


	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPasswd() {
		return this.passwd;
	}

	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Date getResDate() {
		return this.resDate;
	}

	public void setResDate(Date resDate) {
		this.resDate = resDate;
	}


}